package com.qf.day02;

import java.util.Scanner;

public class SwitchDemo {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入你的成绩");
        String number =sc.next();
        switch (number){
            case "A":
            case "a":
                System.out.println("好评");
                break;
            case "B":
            case "b":
                System.out.println("一般");
                break;
            case "C":
            case "c":
                System.out.println("良好");
                break;
            case "D":
            case "d":
                System.out.println("差评");
                break;
        }
    }
}
